package com.bdqn.entity;

public class AdminUser {
    /*
    * 登录页面的实体类
    */
    private Integer adminUserId;
    private String loginUserName;
    private String loginPassword;
    private String nickName;
    private Byte locked;

    public Integer getAdminUserId() {
        return adminUserId;
    }

    public void setAdminUserId(Integer adminUserId) {
        this.adminUserId = adminUserId;
    }

    public String getLoginUserName() {
        return loginUserName;
    }

    public void setLoginUserName(String loginUserName) {
        this.loginUserName = loginUserName == null ? null : loginUserName.trim();
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword == null ? null : loginPassword.trim();
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName == null ? null : nickName.trim();
    }

    public Byte getLocked() {
        return locked;
    }

    public void setLocked(Byte locked) {
        this.locked = locked;
    }

    @Override
    public String toString() {
        StringBuilder sbdr = new StringBuilder();
        //StringBuilder.append(添加的字符本身，从字符的第一个下标开始，到最后)
        //向此实例追加指定对象的字符串表示形式
        sbdr.append(getClass().getSimpleName());
        sbdr.append(" [");
        sbdr.append("Hash = ").append(hashCode());
        sbdr.append(", adminUserId=").append(adminUserId);
        sbdr.append(", loginUserName=").append(loginUserName);
        sbdr.append(", loginPassword=").append(loginPassword);
        sbdr.append(", nickName=").append(nickName);
        sbdr.append(", locked=").append(locked);
        sbdr.append("]");
        return sbdr.toString();
    }
}